
<div class="wrap">
<div id="icon-themes" class="icon32"><br /></div>
<h2><?php echo PADD_THEME_NAME; ?> Options</h2>

<form method="post" id="padd-theme-admin-options">

	<div id="padd-admin-tabs">

		<ul>
			<li><a href="#padd-admin-tab-about">About</a></li>
			<li><a href="#padd-admin-tab-general">General</a></li>
			<li><a href="#padd-admin-tab-tracker">Page Tracker</a></li>
			<li><a href="#padd-admin-tab-sn">Social Networking</a></li>
			<li><a href="#padd-admin-tab-relatedposts">Related Posts</a></li>
			<li><a href="#padd-admin-tab-pagenav">Page Navigation</a></li>
			<li><a href="#padd-admin-tab-ads-custom">Custom Ads</a></li>
		</ul>

		<fieldset id="padd-admin-tab-about">
			<h3><?php echo __('About The Theme', PADD_THEME_SLUG); ?></h3>
			<p><?php echo sprintf(__('%s is a freemium WordPress theme. This special WordPress theme is packed with a better framework, an admin options panel and an awesome design to boot. Download more <a href="http://www.paddsolutions.com">free WordPress Themes</a>.', PADD_THEME_SLUG), PADD_THEME_NAME); ?></p>
			<h3><?php echo __('Subscribe To Us', PADD_THEME_SLUG); ?></h3>
			<p><?php echo __('To get our latest updates, follow us at <a href="http://twitter.com/paddsolutions" target="_blank">Twitter</a>, be our <a href="http://www.facebook.com/paddsolutions" target="_blank">Facebook</a> fan or subscribe to our <a href="http://feeds.feedburner.com/paddsolutions" target="_blank">RSS</a> feed.', PADD_THEME_SLUG); ?></p>
			<h3><?php echo __('Support', PADD_THEME_SLUG); ?></h3>
			<p><?php echo __('We are happy to assist you. Feel free to <a href="http://www.paddsolutions.com/contact-us/" target="_blank">contact us</a> should you need customization support, project quotations, advertisement proposals or just anything under the sun. Read more about our <a href="http://www.paddsolutions.com/support-policy/" target="_blank">Support Policy</a>.', PADD_THEME_SLUG); ?></p>
			<h3><?php echo __('Disclaimer', PADD_THEME_SLUG); ?></h3>
			<p><?php echo __('Our themes are provided "as is" without warranty of any kind, either expressed or implied. We are not responsible for any damage while using this theme, use it at your own risk.', PADD_THEME_SLUG); ?></p>
		</fieldset>
		
		<fieldset id="padd-admin-tab-general">
			<h3>General Settings</h3>
			<p>General settings for <?php echo PADD_THEME_NAME; ?> theme to work.</p>
			<table class="form-table">
			<?php
				foreach ($padd_options['general'] as $opt) {
					$opt->set_value(get_option($opt->get_keyword()));
					echo $opt;
				}
			?>
			</table>
		</fieldset>
		
		<fieldset id="padd-admin-tab-tracker">
			<h3>Page Tracker Settings</h3>
			<p>Page tracker options for <?php echo PADD_THEME_NAME; ?> theme.</p>
			<table class="form-table">
			<?php
				foreach ($padd_options['tracker'] as $opt) {
					$opt->set_value(get_option($opt->get_keyword()));
					echo $opt;
				}
			?>
			</table>
		</fieldset>

		<fieldset id="padd-admin-tab-sn">
			<h3>Social Networking</h3>
			<p>Social networking settings for <?php echo PADD_THEME_NAME; ?> theme to work.</p>
			<table class="form-table">
			<?php
				foreach ($padd_options['socialnetwork'] as $opt) {
					echo $opt;
				}
			?>
			</table>
		</fieldset>
		
		<fieldset id="padd-admin-tab-relatedposts">
			<h3>Related Posts</h3>
			<p>Related posts options for <?php echo PADD_THEME_NAME; ?> theme.</p>
			<table class="form-table">
			<?php
				foreach ($padd_options['relatedposts'] as $opt) {
					$opt->set_value(get_option($opt->get_keyword()));
					echo $opt;
				}
			?>
			</table>
		</fieldset>
		
		<fieldset id="padd-admin-tab-pagenav">
			<h3>Page Navigation Options</h3>
			<p>Page navigation options for <?php echo PADD_THEME_NAME; ?> theme.</p>
			<table class="form-table">
			<?php
				foreach ($padd_options['pagenav'] as $opt) {
					$opt->set_value(get_option($opt->get_keyword()));
					echo $opt;
				}
			?>
			</table>
		</fieldset>
		
		<fieldset id="padd-admin-tab-ads-custom">
			<h3>Custom Advertisement Settings</h3>
			<p>You can make your own advertisement in this settings.</p>
			<table class="form-table">
			<?php
				foreach ($padd_options['advertisements'] as $opt) {
					echo $opt;
				}
			?>
			</table>
		</fieldset>
		
	</div>

	<p class="submit">
		<button class="button button-primary" name="action" type="submit" value="save">Save Settings</button>
	</p>
</form>


</div>

